package com.qianfeng.openapi.web.master.bean;

import lombok.Data;

import java.util.List;

/**
 * @Author LJF
 * @Date 2020/6/29 19:37
 * @Version 1.0
 */
@Data
public class TableData<T> {

    private int code = 0;
    private String msg;
    private Long count; //总条数
    private List<T> data;//集合数据

    public TableData() {
    }

    public TableData(Long count, List<T> data) {
        this.count = count;
        this.data = data;
    }
}
